<!-- 页脚结束 -->
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <!--<script src="__PUBLIC__/FlatUI/js/flat-ui.min.js"></script>-->
    <!-- 加载广告js -->
    <script type="text/javascript">
		var ad_url="{:U('Ad/getAd')}";
		var friendlink_url="{:U('Friendlink/getLink')}";
	</script>
    <!--<script src="__PUBLIC__/js/ad.js"></script>-->
<script>
$(document).ready(function(){
	var top=$("nav").offset().top;
	$(window).scroll(function(){
	    if($(window).scrollTop()>top){
	    	$("nav").addClass("navbar-fixed-top");
	    	$(".hide").hide();
	    }else{
	    	$("nav").removeClass("navbar-fixed-top");
	    	$(".hide").show();
	    }
	 });
});
</script>
</body>
</html>